﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Code4WP7SDK.Controls
{
    public interface IDateToBrushConverter
    {
        /// <summary>
        /// 把日期转换成颜色
        /// </summary>
        /// <param name="datetime">日期</param>
        /// <param name="isSelected">是否选中</param>
        /// <param name="defaultValue">默认值</param>
        /// <param name="type"></param>
        /// <returns></returns>
        Brush Convert(DateTime datetime, bool isSelected, Brush defaultValue, BrushType type);
    }
}
